package com.cherry.ndkdemo;

/**
 * @author DongMS
 * @since 2020/4/28
 */
public final class PatchUtils {

    static {
        System.loadLibrary("native-lib");
    }

    private PatchUtils() {
    }

    /**
     *
     * @param oldApk 当前运行的apk
     * @param patch 差分包
     * @param outputApk 合成新的apk
     */
    public static native void patch(String oldApk,String patch,String outputApk);

}
